gsk: Synchronize when using textures
authorMatthias Clasen <mclasen@redhat.com>
Sat, 28 Jan 2023 20:20:26 +0000 (15:20 -0500)
committerBenjamin Otte <otte@redhat.com>
Thu, 27 Apr 2023 04:57:02 +0000 (06:57 +0200)
commit8292b846d58a09295e4e30c25c4e19c3ea4be8e1
treef88bf88215d5eedcafb49180f0802c7319a2b0ce
parent6efaa79e3c1b9b17a99f93de2e8a76705f3409ff
gsk: Synchronize when using textures

Pass the GLsync object from texture into our
command queue, and when executing the queue,
wait on the sync object the first time we
use its associated texture.
gsk/gl/gskglcommandqueue.c
gsk/gl/gskglcommandqueueprivate.h
gsk/gl/gskglprogramprivate.h
gsk/gl/gskglrenderjob.c